package com.nervenets.web.controller.handler.admin.movie;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
public class MovieProfitParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "影片ID")
    private long movieId;
    @NeedValidation(type = Type.FLOATNUMBER, description = "每元收益")
    private BigDecimal profit;
}
